#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QDateTime>
#include "cal.h"
#include <QDebug>
#include <QStandardItemModel>
#include "adds.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_btnCal_clicked();

    void on_btnAppend_clicked();

    void on_btnDelete_clicked();

    void on_btnClear_clicked();

    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void onAdd(double jd,double wd,QString ymd,int sh,int sm,int eh,int em,int jg);

    void on_pushButton_3_clicked();

    void on_pushButton_4_clicked();

    void on_calendarWidget_clicked(const QDate &date);

    void on_pushButton_5_clicked();

    void on_pushButton_6_clicked();

private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
